<?php 
class Pidguin_Controller_Cp_Action extends Pidguin_Controller_Action
{
	public function init()
	{
		$this->_helper->layout->setLayout('cp');
		try {
			parent::init();
		} catch (Exception $e) {
			if ($e->getMessage() == 'Access denied') {
				$this->_redirect('/cp/auth');
			}
		}
	}
}